<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>传参方式</title>
</head>

<body>
    <h1>传参方式</h1>
    <h2>第一种传参方式</h2>
    <form action="/p1">
        <input type="text" name="name" placeholder="名字">
        <input type="text" name="age" placeholder="年龄">
        <input type="submit">
    </form>
    <h2>第二种传参方式</h2>
    <form action="/p2">
        <input type="text" name="name" placeholder="名字">
        <input type="text" name="age" placeholder="年龄">
        <input type="submit">
    </form>
    <h2>第三种传参方式</h2>
    <form action="/p3">
        <input type="text" name="name" placeholder="名字">
        <input type="text" name="age" placeholder="年龄">
        <input type="text" name="salary" placeholder="工资">
        <input type="submit">
    </form>
</body>

</html>